// 渲染图标函数
import * as CustomIcons from "../CustomIcons.tsx"
import Icon from "@ant-design/icons";
const renderIcons = (icon:any) => {
    const IconComponent = CustomIcons[icon]
    if (!IconComponent) {
        return <div></div>;
    } else {
        return  <Icon component={IconComponent} />
    }

}
export default renderIcons
